[X256,Y256]=meshgrid(((1:256)-129)*pseq.fovcm/256);
XR256=sqrt(X256.^2+Y256.^2);
WX256=XR256<pseq.fovcm/8;
WR256=WX256.*(.54+0.46*cos(pi*XR256/(pseq.fovcm/8)));
FF=zeros(256,256);
FF(97:160,97:160)=fftshift(fft2(fftshift(R2e)));
RR2e=real(fftshift(ifft2(fftshift(FF.*WR256))));
figure(7);imagesc(RR2e);axis image;colormap gray;colorbar
